package com.briup.jz.service;

import java.util.List;

import com.briup.jz.bean.BaseUser;
import com.briup.jz.bean.BaseUserExample;
import com.briup.jz.bean.extend.BaseUserExtend;
import com.briup.jz.utils.CustomerException;

public interface BaseUserService {
	void saveOrUpdate(BaseUser baseUser) throws CustomerException;

	List<BaseUser> query(String name);

	void deleteById(long id) throws CustomerException;

	List<BaseUserExtend> selectUserRole(String userName, String status, String roleName);

	List<BaseUser> selectAllStatus( );
}
